//
//  LPRequestParser.h
//  DigitalSchool
//
//  Created by Pan on 2017/10/24.
//  Copyright © 2017年 Pan. All rights reserved.


/** 数据请求 类 */

#import <Foundation/Foundation.h>

@interface LPRequestParser : NSObject

/** 获取视频播放地址 */
+ (void)getVideoUrlWithUserId:(NSString *)userid videoid:(NSString *)videoid key:(NSString *)key block:(void (^)(id responseObject, NSError *error))block;

#pragma mark ============================= 首页接口 ==============================
/** 获取轮播图 */
+ (void)getBannerDataBlock:(void (^)(NSArray *list, NSError *error))block;
/** */
+(void)getImageUrlBlock:(void (^)(id responseObject, NSError *error))block;
//**登录****测评页面 *****
+(void)postLoginAppUserName:(NSString *)userName securityCode:(NSString *)securiytcode url:(NSString *)url block:(void (^)(id responseObject, NSError *error))block;
//获取子列表数据
+(void)postOwnpaperAttachedFatherId:(NSInteger) fatherid url:(NSString *)url UserName:(NSString *)userName securityCode:(NSString *)securiytcode block:(void (^)(id responseObject, NSError *error))block;
//评论接口
+(void)postSaveOwnpaperAppUname:(NSString *)uname url:(NSString *)url SecurityCode:(NSString *)securiycode Point_time:(NSString *)pointTime MenuId:(NSString *)menuid S_menu_id:(NSString *)smenuid Menu_content:(NSString *)menucontent block:(void (^)(id responseObject, NSError *error))block;
// 获取测评数据
+(void)postGetQuestionUserName:(NSString *)userName securityCode:(NSString *)securiytcode url:(NSString *)url block:(void (^)(id responseObject, NSError *error))block;
//提交问卷调查数据
+(void)posthttpSaveQuestionnaireJsonAnswer:(NSArray *)jsonAnswer block:(void (^)(id responseObject, NSError *error))block;
@end
